<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Vectors</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="autorzy: Elwira Kowalewska, Piotr Karolus, Kacper Kapu&#347;niak grupa 21K7">
Modelowanie i symulacja zderze&#324; spr&#281;&#380;ystych
</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;Vectors
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Vectors-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module Vectors</h1><p class="nomargin-top"><span class="codelink"><a href="Vectors-pysrc.html">source&nbsp;code</a></span></p>
<p>Modu&#322; odpowiedzialny za przeprowadzanie operacji na wektorach a tak&#380;e 
  za obliczanie wektora pr&#281;do&#347;ci i grawitacji.</p>
  <p><b>Modu&#322; zawiera:</b></p>
  <ol start="1">
    <li>
      Klasa Vector
      <ul>
        <li>
          Metoda __init__
        </li>
        <li>
          Metoda setVector
        </li>
        <li>
          Metoda getVx
        </li>
        <li>
          Metoda getVy
        </li>
        <li>
          Metoda setVx
        </li>
        <li>
          Metoda setVy
        </li>
        <li>
          Metoda getVectorLength
        </li>
        <li>
          Metoda addVector
        </li>
        <li>
          Metoda substractVector
        </li>
        <li>
          Metoda multiplyVector
        </li>
        <li>
          Metoda calculateCrossProduct
        </li>
        <li>
          Metoda calculateDotProduct
        </li>
        <li>
          Metoda dot
        </li>
        <li>
          Metoda rotateVector
        </li>
        <li>
          Metoda lengthenVector
        </li>
        <li>
          Metoda shortenVector
        </li>
        <li>
          Metoda calculateAngleBetweenVector
        </li>
        <li>
          Metoda getVectorAngle
        </li>
        <li>
          Metoda normalize
        </li>
      </ul>
    </li>
    <li>
      Klasa Velocity
      <ul>
        <li>
          Metoda __init__
        </li>
      </ul>
    </li>
    <li>
      Klasa Gravity
      <ul>
        <li>
          Metoda __init__
        </li>
      </ul>
    </li>
  </ol>

<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Vectors.Vector-class.html" class="summary-name">Vector</a><br />
      Klasa reprezentuj&#261;ca wektor w uk&#322;adzie wsp&#243;&#322;rz&#281;dnych.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Vectors.Velocity-class.html" class="summary-name">Velocity</a><br />
      Klasa reprezentuj&#261;ca pr&#281;dko&#347;&#263; obiektu.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Vectors.Gravity-class.html" class="summary-name">Gravity</a><br />
      Klasa reprezentuj&#261;ca wektor grawitacji - wektor d&#322;ugo&#347;ci 1 o 
        pocz&#261;tku w punkcie przy&#322;o&#380;enia i k&#261;cie obrotu podanym jako 
        GravityAngle.
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code>
    </td>
  </tr>
</table>
<p class="indent-wrapped-lines"><b>Imports:</b>
  <span title="math.sin">sin</span>,
  <span title="math.cos">cos</span>,
  <span title="math.acos">acos</span>,
  <span title="math.radians">radians</span>,
  <span title="math.sqrt">sqrt</span>,
  <span title="random.randint">randint</span>
</p><br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="autorzy: Elwira Kowalewska, Piotr Karolus, Kacper Kapu&#347;niak grupa 21K7">
Modelowanie i symulacja zderze&#324; spr&#281;&#380;ystych
</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Jan 29 03:27:58 2014
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
